<template>
  <el-image
    :style="{ width: width + 'px', height: width + 'px', 'border-radius': 4 + 'px' }"
    :src="ip + src"
  />
</template>

<script setup>

const props = defineProps({
  src: {
    type: String,
  },
  width: {
    type: Number,
    default: 40,
  },
});

const ip = import.meta.env.VITE_APP_ACCESS_IP;
</script>

<style lang="scss"></style>
